home *** CD-ROM | disk | FTP | other *** search
/ Univers Interactif 3 / INTERACTIF.BIN / pc / planeten / internet / lpdaemon.sit / lpDaemon ƒ / README < prev   
Text File  |  1994-09-28  |  3KB  |  68 lines

  1. lpDaemon and LPR
  2. ----------------
  3.  
  4. lpDaemon is a utility that implements the Berkeley Line Printer Protocols as
  5. described if rfc1179 on the Macintosh. It normally spools postscript files 
  6. sent from a unix host and sends them to a LaserWriter on the Mac network.  It
  7. may be used to print any files to an AppleTalk printer or a Serial printer.
  8.  
  9. LPR is an lpDaemon client that submits jobs to a printer queue.  Typically a
  10. text file is to a unix print queue.  If the file is of type TEXT the end of
  11. lines are converted to unix style end of lines before sending,  otherwise files
  12. are sent as is and marked with the 'literal' flag.
  13.  
  14. lpDaemon and LPR run under system 7 and require MacTCP.
  15.  
  16. Setting Up lpDaemon
  17. -------------------
  18. lpDaemon looks for a folder called "Spool Folder" in your system folder and
  19. a text file call LPD.config in the "Spool Folder" folder.  A sample LPD.config
  20. file is included in this package.  The sample contains information about setting
  21. up for your installation.
  22.  
  23.  
  24. What to do on the Unix Box
  25. --------------------------
  26. The unix machine needs to be told about the printer. This is done by adding an
  27. entry to the printcap file.  The following shows such an entry :
  28.  
  29. pslaser|PostScript LaserWriter:\
  30.       :rp=pslaser:lp=:\
  31.       :rm=server-mac:sd=/usr/spool/maclpd:\
  32.       :lf=/usr/adm/lpd-errs:
  33.  
  34. to print to this printer you use the command :
  35.  
  36.       lpr -Ppslaser <filename>
  37.  
  38. The rm entry tells lpd which machine the printer is conected to, in our case
  39. where lpDaemon is running.  The rp entry tells lpd which of the printers
  40. connected to this rp to print on.  This name will be passed on to lpDaemon which
  41. will map the name to a printer as specified in the config file.
  42.  
  43. If your LPD.config file on the macintosh has an entry :
  44.  
  45. PRINTER        pslaser            PAP        ""    POSTSCRIPT            # default
  46.  
  47. the print command above would print to your default printer.
  48.  
  49. What's in the LogFile
  50. ---------------------
  51. The log file keeps a record of everything printed through the spooler as well
  52. as all errors.  This file can be cleared by using the "Clear Log File" entry
  53. under the "File" menu.
  54.  
  55. If you are experiencing problems you may want to turn debugging on by adding
  56. a DEBUG command to the config file.  This causes extra debugging information
  57. to be sent to the log file.
  58.  
  59. The log file may be cleared using the "Clear Log File" entry in the file menu.
  60. When this is done the contents are first mailed to the ADMIN specified in the
  61. config file.
  62.  
  63. What if I Send a non-PostScript file to a PostScript printer
  64. ------------------------------------------------------------
  65. lpDaemon checks the first 2 characters in the file looking for %! which it would
  66. assume to be in all postscript files.  If these two characters are not there
  67. lpDaemon will reject the file and mail the owner.
  68.